home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Multimedia / Resource Library: Multimedia.iso / hypercrd / xcmds / dvlprstc.hqx / Developer Stack 1.3r / card_24994.txt < prev    next >
Encoding:
Text File  |  1991-04-30  |  1.2 KB  |  38 lines

  1. -- card: 24994 from stack: in.3r
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3837
  5. -- name: subLaunch
  6.  
  7.  
  8. -- part contents for background part 10
  9. ----- text -----
  10. 14
  11.  
  12. -- part contents for background part 5
  13. ----- text -----
  14. subLaunch
  15.  
  16. -- part contents for background part 6
  17. ----- text -----
  18.  
  19. This will launch an application to run along with Hypercard under MultiFinder.
  20.  
  21. Note:
  22. Version 1.1 of Hypercard makes this XFCN redundant.  However, to make your stacks MulitFinder compatible, you should check the version number of HyperCard that is running (using the version property) and use this function if the version is less than 1.1. --Steve D.
  23.  
  24. -- part contents for background part 7
  25. ----- text -----
  26. Syntax:
  27.  
  28. SubLaunch(<programName>[,<docName>])
  29.  
  30. sublaunches the program with optional attached  document.  Both HyperCard and the specified program will then be running, memory permitting (at least 2
  31.  Meg!).  If the arguments have no colons in them (not a pathname), then the ΓÇ£Look for applications in:ΓÇ¥┬áetc. cards in the Home stack are consulted. 
  32.  
  33. SubLaunch return 0 for success, negative numbers for Operating System errors, and small positive numbers for parameter errors, or lack of memory. 
  34.  
  35.  
  36. -- part contents for background part 27
  37. ----- text -----
  38. XFCN